<?php
    if(C('LAYOUT_ON')) {
        echo '{__NOLAYOUT__}';
    }
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title><?php echo $msgTitle; ?></title>
    <link rel="stylesheet" href="/Public/live/css/msg.css">
</head>
<body>
    <div class="emotion">
        <img src="/Public/live/img/emotion/y<?php echo rand(0,1); ?>.jpg" alt="">
    </div>
    <div class="msg">
        <?php echo($message); ?>
    </div>
    <p class="jump">
        页面将自动自动跳转，或 <a id="href" href="<?php echo($jumpUrl); ?>">点击此处</a> 直接跳转跳转！ 等待时间： <b id="wait"><?php echo($waitSecond); ?></b> 秒
    </p>
    <script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time = --wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
</body>
</html>